//
//  UIDatePicker+Helper.m
//  Btpin
//
//  Created by Vic on 2019/3/14.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "UIDatePicker+Helper.h"

@implementation UIDatePicker (Helper)

- (void)clearSpearatorLineAndSetTextColor {
//    [self setValue:THEMECOLOR_OF_TEXT_333333 forKey:@"textColor"];
    for (UIView *subView1 in self.subviews) {
        if ([subView1 isKindOfClass:[UIPickerView class]]) { //取出UIPickerView
            for (UIView *subView2 in subView1.subviews) {
                if (subView2.frame.size.height < 1) { //取出分割线view
                    subView2.hidden = YES;//隐藏分割线
                }
            }
        }
    }
}

@end
